
package guoan.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 考试报名
 * 
 */
@Entity
@Table(name = "exam_item_status")
public class ExamItemStatus implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID 自动增长
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 考试开放时间
     */
    @Column(name = "open_hours")
    private Long openHours;

    /**
     * 考试ID
     */
    @Column(name = "exam_id")
    private Long examId;

    /**
     * 报名人数
     */
    @Column(name = "applicants_number")
    private Long applicantsNumber;

    public ExamItemStatus(){
    }

    public Long getId(){
        return id;
    }

    public void setId(Long id){
        this.id = id;
    }

    public Long getOpenHours(){
        return openHours;
    }

    public void setOpenHours(Long openHours){
        this.openHours = openHours;
    }

    public Long getExamId(){
        return examId;
    }

    public void setExamId(Long examId){
        this.examId = examId;
    }

    public Long getApplicantsNumber(){
        return applicantsNumber;
    }

    public void setApplicantsNumber(Long applicantsNumber){
        this.applicantsNumber = applicantsNumber;
    }

}